<div class="row">
	<div class="col-sm-8">
		<div class="page-header">
			<h2>登录</h2>
		</div>
		<form ng-submit="login()" style="max-width:400px">
			<div class="form-group">
				<label>用户名：</label>
				<input id="account-name" class="form-control" type="text" ng-model="loginBody.username"/>
			</div>
			<div class="form-group">
				<label>密码：</label>
				<input id="account-password" class="form-control" type="password" ng-model="loginBody.password"/>
			</div>
			<div class="form-group">
				<label>验证码：</label>
				<img ng-src="{{app.APIOrigin}}manager/user/captcha?time={{captchaTime}}"
					style="float:right"
					ng-click="getNow()">
				<input class="form-control" ng-model="captcha"
					id="login-captcha"
					style="width:6em"
					ng-model-options="{getterSetter:true}" />
				<p class="help-block">{{exceptionMessage?exceptionMessage:'&nbsp;'}}</p>
			</div>
			<button class="btn btn-primary" ng-disabled="captcha().length!=4">登录</button>
		</form>
	</div>
	<div id="sideBar" class="col-sm-3 col-sm-offset-1 hidden-xs">
		<h4>欢迎登录</h4>
		<p>欢迎使用Lemonce开启您的测试之旅。</p>
		<p>在这里，您即将得到完整的测试项目管理功能和完整的探针功能。您可以创建测试用例、安排测试任务、测试管理、查看测试报告。</p>
	</div>
</div>
